@import './config.scss';

.theme__dark .franz-form .franz-form__radio {
  border: 1px solid $dark-theme-gray-lighter;
  color: $dark-theme-gray-lightest;

  &.is-selected {
    background: $dark-theme-gray-lighter;
    border: 1px solid $dark-theme-gray-lighter;
    color: $dark-theme-gray-smoke;
  }
}

.franz-form {
  .franz-form__radio-wrapper {
    display: flex;
  }

  .franz-form__radio {
    border: 2px solid $theme-gray-lighter;
    border-radius: $theme-border-radius-small;
    box-shadow: $theme-inset-shadow;
    color: $theme-gray;
    flex: 1;
    margin-right: 20px;
    padding: 11px;
    text-align: center;
    @media (prefers-reduced-motion: no-preference) {
      transition: background $theme-transition-time;
    }

    &:last-of-type {
      margin-right: 0;
    }

    &.is-selected {
      background: #fff;
      border-width: 2px;
      border-style: solid;
      border-color: $theme-brand-primary;
      color: $theme-brand-primary;
    }

    input {
      display: none;
    }
  }
}
